# coding=utf8

# Copyright 2018 JDCLOUD.COM
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# NOTE: This class is auto generated by the jdcloud code generator program.


class ClearDataTaskInfo(object):

    def __init__(self, clearType=None, keyPattern=None, keyFilter=None, qpsLimit=None, progress=None, effectKeys=None, status=None, message=None, lastTransitionTime=None):
        """
        :param clearType: (Optional) 数据清理任务类型
        :param keyPattern: (Optional) 匹配模式, 如: test*、*test、ab*cc*, 当节点为AllData、ExpiredData时可以忽略此参数
        :param keyFilter: (Optional) key的过滤条件, 当节点为AllData、ExpiredData时可以忽略此参数
        :param qpsLimit: (Optional) 数据遍历的速率
        :param progress: (Optional) 本次清理任务的完成进度
        :param effectKeys: (Optional) 本次清理任务已成功清理的key数量
        :param status: (Optional) 本次清理任务的状态:running、success、failed
        :param message: (Optional) 本次清理任务失败的原因
        :param lastTransitionTime: (Optional) 最近一次status转换的时间
        """

        self.clearType = clearType
        self.keyPattern = keyPattern
        self.keyFilter = keyFilter
        self.qpsLimit = qpsLimit
        self.progress = progress
        self.effectKeys = effectKeys
        self.status = status
        self.message = message
        self.lastTransitionTime = lastTransitionTime
